package com.aaa.sso.feign;

import com.aaa.entity.Menu;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @program: aaa-his-parent
 * @description:
 * @author: 闫克起
 * @create: 2023-12-07 11:37
 **/
@FeignClient(name = "his-system")
public interface MenuFeign {

    @GetMapping("/system/menu/findMenusByUserId/{id}")
    public List<Menu> findMenusByUserId(@PathVariable Long id);
}
